package com.mjh.zhujianju.service.agency;

import java.util.List;
import java.util.Map;

import com.livew.framework.base.service.BaseService;
import com.livew.framework.exception.XTBusinessException;
import com.livew.framework.page.PagedResult;
import com.mjh.zhujianju.model.agency.WorkGuideEO;
import com.mjh.zhujianju.vo.agency.WorkGuideVO;

/**
 * @author liuyang
 * @Description: 办事指南
 * @date 2018/8/14 22:22
 */
public interface WorkGuideSercice extends BaseService<WorkGuideEO> {

    /**
     * 查询所有的办事指南
     * @return key-> type
     */
    Map<String,List<WorkGuideVO>> queryWorkGuideList();

    /**
     * 根据主键id查询办事详情信息
     * @param id
     * @return
     */
    WorkGuideVO queryWorkGuideInfo(Long id);
    
    
    /**
     * 保存
     * @param vo
     * @throws XTBusinessException
     */
	void saveInfo(WorkGuideVO vo) throws XTBusinessException;

	
	/**
	 * 更新
	 * @param vo
	 * @throws XTBusinessException
	 */
	void updateInfo(WorkGuideVO vo)throws XTBusinessException;


	/**
	 * 查询
	 * @param vo
	 * @throws XTBusinessException
	 */
	WorkGuideVO getInfo(Long id) throws XTBusinessException;


	/**
	 * 查询
	 * @param vo
	 * @throws XTBusinessException
	 */
	PagedResult<WorkGuideVO> getVOPage(WorkGuideVO eo);
}
